$OpenBSD: patch-misc_Makefile_in,v 1.7 2013/11/06 17:26:08 okan Exp $
--- misc/Makefile.in.orig	Thu Oct 17 00:11:34 2013
+++ misc/Makefile.in	Mon Oct 21 08:00:02 2013
@@ -74,6 +74,10 @@ ICONS=		$(srcdir)/*.jpg $(srcdir)/*.png $(srcdir)/*.ic
 # Rules
 
 all:
+	for p in $(PACKAGES); \
+	do \
+	    gunzip -c $(srcdir)/$$p.tar.gz | tar xf -; \
+	done
 
 install: install-other install-packages
 
@@ -97,8 +101,7 @@ install-packages:
 	fi
 	for p in $(PACKAGES); \
 	do \
-	    gunzip -c $(srcdir)/$$p.tar.gz | (cd $(PKGDIR) ; tar xf -); \
-	    (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
+	    (cd $$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
 	done
 
 finish:
